package edu.umassd.raddacl.calc;

import edu.umassd.raddacl.DataSet;
import edu.umassd.raddacl.Observation;

/**
 * This interface marks an object that performs some calculation on
 * {@link DataSet} by comparing every pair of observations.
 * 
 * Examples include distance tables, centroid calculations.
 * 
 * @author Dan Avila
 * 
 */
public interface LoopAndCompareAlgorithm
{
	/**
	 * Performs the loop operation on the provided pair of observations.
	 * 
	 * @param obs1
	 *            - the first observation.
	 * @param obs2
	 *            - the second observation.
	 */
	void loop(Observation obs1, Observation obs2);
}
